# Get the cell-level metadata data frame
head(pbmc_small[[]])
# Pull specific metadata information
head(pbmc_small[[c("letter.idents", "groups")]])
head(pbmc_small[["groups", drop = TRUE]])
# Get a sub-object (eg. an `Assay` or `DimReduc`)
pbmc_small[["RNA"]]
pbmc_small[["pca"]]
# Get the first 10 rows of cell-level metadata
head(pbmc_small)
# Get the last 10 rows of cell-level metadata
tail(pbmc_small)
Run the code above in your browser using DataLab